﻿using Newtonsoft.Json;

namespace housingsafety.server.Models
{
    public class RedisConfigManagement
    {
        [JsonProperty("ip")]
        public string Ip { get; set; } = "127.0.0.1";

        [JsonProperty("port")]
        public int Port { get; set; } = 6379;

        [JsonProperty("password")]
        public string Password { get; set; }

        [JsonProperty("connectTimeout")]
        public int ConnectTimeout { get; set; } = 5000;

        [JsonProperty("syncTimeout")]
        public int SyncTimeout { get; set; } = 10000;
    }
}
